package com.admin.kotlintest.bean

import cn.bmob.v3.BmobObject

/**
 * Created by 吴昶 on 2018/4/18.
 */
class Appointment:BmobObject(){

    var carNumber:String=""
    var carId:String=""
    var userName:String=""
    var userId:String=""
    var driverName:String=""
    var driverId:String=""
    var from:String?=null
    var fromlat:Double= 0.0//纬度
    var fromlon:Double=0.0//精度
    var appointRemarks:String = ""
    var appointStartTime:Long = 0
    var appointEndTime:Long =0
    var acceptTime:Long=0

    var getOnCarTime:Long=0
    var outCarTime:Long=0
    var distance:Double=0.0
    var endRemarks:String=""

    var appointState:Int=0 //
    var driverAccept:Boolean=false
    override fun toString(): String {
        return "Appointment(carNumber='$carNumber', carId='$carId', userName='$userName', userId='$userId', driverName='$driverName', driverId='$driverId', from=$from, fromlat=$fromlat, fromlon=$fromlon, appointRemarks='$appointRemarks', appointStartTime=$appointStartTime, appointEndTime=$appointEndTime, acceptTime=$acceptTime, getOnCarTime=$getOnCarTime, outCarTime=$outCarTime, distance=$distance, endRemarks='$endRemarks', appointState=$appointState, driverAccept=$driverAccept)"
    }


}